﻿Imports MySql.Data.MySqlClient
''' <summary>
''' MySql服务
''' </summary>
Public Interface IMySqlService
    Function connection() As MySqlConnection

    Function connection(ByRef dns As String) As MySqlConnection

    Function [select](ByRef sql As String) As DataTable

    Function insert(ByRef sql As String) As Integer

    Function update(ByRef sql As String) As Integer

    Function delete(ByRef sql As String) As Integer

    Function getValue(ByRef sql As String) As Object
End Interface
